<?php

namespace App\Library\Requests\UserAddress;

use App\Library\Requests\Base\BaseDTORequest;

class UserAddressAddRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            'uaDefault' => 'nullable|boolean',
            'uaIsRefund' => 'nullable|boolean',
            'uaContacts' => 'required|string|max:255',
            'uaContactsMobile' => 'required|string|size:11|regex:' . __('com.mobileReg'),
            'uaCode' => 'nullable|string|size:6',
//            'uaProvince' => 'required|string|max:50',
//            'uaCity`' => 'required|string|max:50',
//            'uaCounty' => 'required|string|max:50',
//            'uaAddress' => 'required|string|max:50',
            'uaAddressFull' => 'required|string|max:255',
        ];
    }
}
